<template>
<div class="jc">
<h1>基础用法</h1>
<br>
  <el-select v-model="value" clearable   placeholder="请选择">
    <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.value"
       :disabled="item.disabled">
    </el-option>
  </el-select>



</div>

  

</template>

<script class="jc">

export default {
    name:"Select",
      data() {
      return {
        options: [{
          value: '选项1',
          label: '可乐'
        }, {
          value: '选项2',
          label: '雪碧',
          disabled:'true'
        }, {
          value: '选项3',
          label: '七喜'
        }, {
          value: '选项4',
          label: '芬达'
        }, {
          value: '选项5',
          label: '百事'
        }],
        value: ''
      }
    },
   

}
</script>



<style>

</style>